<B:UIWBBST x:Class="WPFExcelReport.UIFWB08SJH"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:B="clr-namespace:WPFExcelReport;assembly=TWBBST" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                      xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                    xmlns:DF="clr-namespace:WPFExcelReport;assembly=TWTEINZ"  
                    xmlns:WT="clr-namespace:WPFExcelReport;assembly=TWTSAER"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <B:UIWBBST.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>     
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SubStrConverter x:Key="substr"/>
        <ucd:NOTConverter x:Key="not"/>
    </B:UIWBBST.Resources>
    <WrapPanel Visibility="{Binding IsSJH,ElementName=TV,Converter={StaticResource bv}}">
        <WrapPanel  Margin="20,5,0,0" VerticalAlignment="Center" >

            <TextBlock FontSize="16"  Text="{Binding Source={Localization:Translate Word=卷号:}}" VerticalAlignment="Center"/>
            <Label FontSize="20" Margin="5,0,0,0" Grid.Column="1"  Foreground="Red"  
                                      Content="{Binding WBBSTKNR,Converter={StaticResource substr},ConverterParameter=8+4}" Width="60" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
            <WrapPanel  Visibility="Collapsed">
                <TextBlock   Margin="20,0,0,0"   Text="{Binding Source={Localization:Translate Word=码表长:}}"/>
                <TextBlock Margin="20,0,0,0"  Text="{Binding WBBISTKLG,Converter={StaticResource d1000}}" 
                                         Width="80" />
            </WrapPanel>
            <TextBlock Margin="5,0,0,0" FontSize="16"   Text="{Binding Source={Localization:Translate Word=标签长:}}" VerticalAlignment="Center"/>
            <ex:TXT72 Margin="5,0,0,0"  Text="{Binding QTY,ElementName=TV, Converter={StaticResource d1000}}"
                                       IsAutoClear="{Binding IsDBChg,ElementName=TV,Converter={StaticResource not}}"
                                       Grid.Column="1" FontSize="18"   Width="60" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"  
                                  />
            <TextBlock Margin="5,0,0,0" FontSize="16"   Text="{Binding Source={Localization:Translate Word=门幅:}}" VerticalAlignment="Center"/>
            <ex:TXT72 Margin="5,0,0,0"  Text="{Binding WBBSBRT, Converter={StaticResource d100}}"
                                      IsAutoClear="{Binding IsDBChg,ElementName=TV,Converter={StaticResource not}}"
                                       Grid.Column="1" FontSize="18"   Width="60" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"  
                                  />
            <TextBlock Margin="5,0,0,0" FontSize="16"   Text="{Binding Source={Localization:Translate Word=纬密:}}" VerticalAlignment="Center" />
            <ex:TXT72 Margin="5,0,0,0"  Text="{Binding WBBIBRT, Converter={StaticResource d1000}}"  
                                       IsAutoClear="{Binding IsDBChg,ElementName=TV,Converter={StaticResource not}}"
                                       Grid.Column="1" FontSize="18"   Width="60" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"  
                                  />
        </WrapPanel>
        <WrapPanel Margin="10,5,0,0">
            <SD:KB245 LMS="1A" QUALITY="{Binding QUALITY,ElementName=TV}"
                        Margin="5,0,0,0"     />
            <SD:KB245 LMS="1B" QUALITY="{Binding QUALITY,ElementName=TV}"
                           Margin="5,0,0,0" />
            <SD:KB245 LMS="1C" QUALITY="{Binding QUALITY,ElementName=TV}"
                           Margin="5,0,0,0" />
            <SD:KB245 LMS="1D" QUALITY="{Binding QUALITY,ElementName=TV}"
                          Margin="5,0,0,0"  />
            <TextBlock  Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=等级: }}"  VerticalAlignment="Center" FontSize="16"  />
            <Label HorizontalContentAlignment="Center" FontSize="18" VerticalContentAlignment="Center" Content="{Binding WBBZENSURKZ}"  Background="Yellow" Width="40" Height="40" VerticalAlignment="Center" />
        </WrapPanel> 
    </WrapPanel>
</B:UIWBBST>

    
